package com.cskaoyan.service;

import com.cskaoyan.bean.data.RegisterData;
import com.cskaoyan.model.MarketUser;

/**
 * @Author Pudding
 * @Date 2024/6/14 9:20
 */
public interface UserService {
    MarketUser findByName(String username);

    MarketUser findById(Integer userId);

    boolean findByMobile(String mobile);

    RegisterData addNewUser(String username, String password, String mobile, String remoteAddr);

    boolean userNameExist(String username);

    boolean phoneExist(String mobile);

    void resetPassword(String mobile, String password, String remoteAddr);
}
